﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace snat.model {

    public class SimpleNode : BaseNode {
        /// <summary>
        /// Current overlay degree of this node
        /// </summary>
        public override int OverlayInDegree {
            get {
                return InDegree;
            }
        }
        /// <summary>
        /// Current overlay out degree of this node
        /// </summary>
        public override int OverlayOutDegree {
            get {
                return OutDegree;
            }
        }
        /// <summary>
        /// Current overlay degree of this node
        /// </summary>
        public override int OverlayDegree {
            get {
                return Degree;
            }
        }
        /// <summary>
        /// List of overlay edges where this node is a target
        /// </summary>
        public override List<Edge> OverlayInEdges {
            get {
                return InEdges;
            }
        }
        /// <summary>
        /// List of overlay edges where this node is a source
        /// </summary>
        public override List<Edge> OverlayOutEdges {
            get {
                return OutEdges;
            }
        }

        public SimpleNode(int _id, string _name, List<Edge> _inEdges = null, List<Edge> _outEdges = null)
            : base(_id, _name, _inEdges, _outEdges) {
        }

    }
}
